<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<script type="text/javascript" src="scripts/boot.js"></script>
</head>
<body>
	<input id="customer_id" class="mini-hidden" />
	<div id="datagrid1" class="mini-datagrid" style="width:100%;height:auto;" allowCellWrap="true" url="customer_call_records_view.do" idField="id" showPager="false" >
		<div property="columns">
			<div type="indexcolumn" width="5px;"></div>
			<div field="callerNum" width="10px;" headerAlign="center" align="center">主叫</div>
			<div field="outsideNum" width="10px;" headerAlign="center" align="center">被叫</div>
			<div field="callerTime" width="25px;" headerAlign="center" dateFormat="yyyy-MM-dd HH:mm:ss" align="center">通话时间</div>
			<div field="callLength" width="25px;" headerAlign="center" align="center">通话时长</div>
			<div field="seatName" width="25px;" headerAlign="center" dateFormat="yyyy-MM-dd HH:mm:ss" align="center">座席</div>
		</div>
	</div>
<script type="text/javascript">
mini.parse();
var grid = mini.get("datagrid1");

var cId = mini.get("customer_id");
function SetData(data) {
	data = mini.clone(data);
	cId.setValue(data.customerId);
	grid.load({answerSeat: data.customerId});
}

</script>
</body>
</html>